package com.example.thegreatwall.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.thegreatwall.entity.ProductDetail;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface ProductDetailMapper extends BaseMapper<ProductDetail> {
    Map<String, Object> timesss(@Param("product_id") Integer product_id);
    List<ProductDetail> getProductDetail(@Param("detail_id") Integer detail_id,@Param("user_id")Integer user_id);
}